package org.gdsdxy.pmmp.service;

import java.util.List;

import org.gdsdxy.pmmp.entity.MemberBaseInfo;
import org.gdsdxy.pmmp.entity.MemberImge;
import org.gdsdxy.pmmp.page.PageResult;

public interface IUserManagerService {
  
  public MemberBaseInfo get(Integer id);
  
	public MemberBaseInfo login(String userName, String password);

	public List<MemberBaseInfo> queryLatestUsers();
	
	public boolean addMemberBaseInfo(MemberBaseInfo baseInfo);

	public boolean addMemberImge(MemberImge imge);

	public List<MemberImge> getMemberImgeByUserId(Integer id);

	public PageResult<MemberImge> queryImgeByUserIdFy(int start, int size,
			Integer id);

	public long getImageCountById(Integer id);


	
	
}
